package com.zzptc.zzsgz.myapplication.entity;

import java.util.List;

public class UserFactory {

    /**
     * status : 200
     * message : 成功
     * data : [{"id":2,"userFactoryId":2,"lines":[{"id":3,"lineId":3,"status":2,"costTime":3,"isAI":0,"poses":[{"pos":0,"userPersonId":null},{"pos":1,"userPersonId":null},{"pos":2,"userPersonId":null},{"pos":3,"userPersonId":null}]},{"id":4,"lineId":4,"status":2,"costTime":14,"isAI":1,"poses":[{"pos":0,"userPersonId":null},{"pos":1,"userPersonId":null},{"pos":2,"userPersonId":null},{"pos":3,"userPersonId":null}]}],"loginName":"xiulanxiong","nickName":"李红霞","capacity1":40,"capacity2":10,"gold":1000000,"day":7,"isLighting":false,"illumination":"差","workshopTemp":"","power":"","time":"","acSwitch":"","outdoorTemp":"","powerConsume":""}]
     */

    private int status;
    private String message;
    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 2
         * userFactoryId : 2
         * lines : [{"id":3,"lineId":3,"status":2,"costTime":3,"isAI":0,"poses":[{"pos":0,"userPersonId":null},{"pos":1,"userPersonId":null},{"pos":2,"userPersonId":null},{"pos":3,"userPersonId":null}]},{"id":4,"lineId":4,"status":2,"costTime":14,"isAI":1,"poses":[{"pos":0,"userPersonId":null},{"pos":1,"userPersonId":null},{"pos":2,"userPersonId":null},{"pos":3,"userPersonId":null}]}]
         * loginName : xiulanxiong
         * nickName : 李红霞
         * capacity1 : 40
         * capacity2 : 10
         * gold : 1000000
         * day : 7
         * isLighting : false
         * illumination : 差
         * workshopTemp :
         * power :
         * time :
         * acSwitch :
         * outdoorTemp :
         * powerConsume :
         */

        private int id;
        private int userFactoryId;
        private String loginName;
        private String nickName;
        private int capacity1;
        private int capacity2;
        private int gold;
        private int day;
        private boolean isLighting;
        private String illumination;
        private String workshopTemp;
        private String power;
        private String time;
        private String acSwitch;
        private String outdoorTemp;
        private String powerConsume;
        private List<LinesBean> lines;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserFactoryId() {
            return userFactoryId;
        }

        public void setUserFactoryId(int userFactoryId) {
            this.userFactoryId = userFactoryId;
        }

        public String getLoginName() {
            return loginName;
        }

        public void setLoginName(String loginName) {
            this.loginName = loginName;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public int getCapacity1() {
            return capacity1;
        }

        public void setCapacity1(int capacity1) {
            this.capacity1 = capacity1;
        }

        public int getCapacity2() {
            return capacity2;
        }

        public void setCapacity2(int capacity2) {
            this.capacity2 = capacity2;
        }

        public int getGold() {
            return gold;
        }

        public void setGold(int gold) {
            this.gold = gold;
        }

        public int getDay() {
            return day;
        }

        public void setDay(int day) {
            this.day = day;
        }

        public boolean isIsLighting() {
            return isLighting;
        }

        public void setIsLighting(boolean isLighting) {
            this.isLighting = isLighting;
        }

        public String getIllumination() {
            return illumination;
        }

        public void setIllumination(String illumination) {
            this.illumination = illumination;
        }

        public String getWorkshopTemp() {
            return workshopTemp;
        }

        public void setWorkshopTemp(String workshopTemp) {
            this.workshopTemp = workshopTemp;
        }

        public String getPower() {
            return power;
        }

        public void setPower(String power) {
            this.power = power;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getAcSwitch() {
            return acSwitch;
        }

        public void setAcSwitch(String acSwitch) {
            this.acSwitch = acSwitch;
        }

        public String getOutdoorTemp() {
            return outdoorTemp;
        }

        public void setOutdoorTemp(String outdoorTemp) {
            this.outdoorTemp = outdoorTemp;
        }

        public String getPowerConsume() {
            return powerConsume;
        }

        public void setPowerConsume(String powerConsume) {
            this.powerConsume = powerConsume;
        }

        public List<LinesBean> getLines() {
            return lines;
        }

        public void setLines(List<LinesBean> lines) {
            this.lines = lines;
        }

        public static class LinesBean {
            /**
             * id : 3
             * lineId : 3
             * status : 2
             * costTime : 3
             * isAI : 0
             * poses : [{"pos":0,"userPersonId":null},{"pos":1,"userPersonId":null},{"pos":2,"userPersonId":null},{"pos":3,"userPersonId":null}]
             */

            private int id;
            private int lineId;
            private int status;
            private int costTime;
            private int isAI;
            private List<PosesBean> poses;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getLineId() {
                return lineId;
            }

            public void setLineId(int lineId) {
                this.lineId = lineId;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getCostTime() {
                return costTime;
            }

            public void setCostTime(int costTime) {
                this.costTime = costTime;
            }

            public int getIsAI() {
                return isAI;
            }

            public void setIsAI(int isAI) {
                this.isAI = isAI;
            }

            public List<PosesBean> getPoses() {
                return poses;
            }

            public void setPoses(List<PosesBean> poses) {
                this.poses = poses;
            }

            public static class PosesBean {
                /**
                 * pos : 0
                 * userPersonId : null
                 */

                private int pos;
                private Object userPersonId;

                public int getPos() {
                    return pos;
                }

                public void setPos(int pos) {
                    this.pos = pos;
                }

                public Object getUserPersonId() {
                    return userPersonId;
                }

                public void setUserPersonId(Object userPersonId) {
                    this.userPersonId = userPersonId;
                }
            }
        }
    }
}
